package com.job.model;

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用人单位实体类
 * @author hasee
 */
@Entity()
@Table()
public class Employer {
    /**
     * 类别id 用来区分用户1 管理者3 用人单位2
     */
    private int sortId=2;
    /**
     * 用人单位id
     */
    private int employerId;
    /**
     * 用人单位登录名
     */
    private String employerName;
    /**
     * 用人单位密码
     */
    private String employerPassWord;
    /**
     * 用人单位公司名
     */
    private String employerCompany;
    /**
     * 用人单位地址
     */
    private String employerAddress;
    /**
     * 用人单位联系邮件
     */
    private String employerEmail;
    /**
     * 用人单位联系电话
     */
    private String employerPhone;
    /**
     * 用人单位logo位置
     */
    private String employerImagePath;
    /**
     * 用人单位简介
     */
    private String employerIntro;

    @Id
    @GeneratedValue(generator="increment")
    @GenericGenerator(name="increment", strategy = "increment")
    public int getEmployerId() {
        return employerId;
    }

    public void setEmployerId(int employerId) {
        this.employerId = employerId;
    }

    public String getEmployerName() {
        return employerName;
    }

    public void setEmployerName(String employerName) {
        this.employerName = employerName;
    }

    public String getEmployerPassWord() {
        return employerPassWord;
    }

    public void setEmployerPassWord(String employerPassWord) {
        this.employerPassWord = employerPassWord;
    }

    public String getEmployerCompany() {
        return employerCompany;
    }

    public void setEmployerCompany(String employerCompany) {
        this.employerCompany = employerCompany;
    }

    public String getEmployerAddress() {
        return employerAddress;
    }

    public void setEmployerAddress(String employerAddress) {
        this.employerAddress = employerAddress;
    }

    public String getEmployerEmail() {
        return employerEmail;
    }

    public void setEmployerEmail(String employerEmail) {
        this.employerEmail = employerEmail;
    }

    public String getEmployerPhone() {
        return employerPhone;
    }

    public void setEmployerPhone(String employerPhone) {
        this.employerPhone = employerPhone;
    }

    public String getEmployerImagePath() {
        return employerImagePath;
    }

    public void setEmployerImagePath(String employerImagePath) {
        this.employerImagePath = employerImagePath;
    }

    public String getEmployerIntro() {
        return employerIntro;
    }

    public void setEmployerIntro(String employerIntro) {

        this.employerIntro = employerIntro;
    }

    public int getSortId() {
        return sortId;
    }

    public void setSortId(int sortId) {
        this.sortId = sortId;
    }
}

